<?php

namespace App\Http\Controllers\home;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use DB;


class PortalController extends Controller
{
     public function index(Request $request)
    {	
    	//dd('123');
    	$uid = session('uid');
    	// dd($uid);
    	//$username->session()->put('', 'value');
    	$list = DB::table('users')->where('id',$uid)->first()	;
    	// dd($results);
        // dd($list);
    	return view('home.order.portal',['list'=>$list]);	

    }

  
}

